package com.suse.service.vod.service;

import com.suse.common.config.response.R;
import org.springframework.web.multipart.MultipartFile;

public interface VideoService {

    /**
     * 上传视频
     * @param file 文件
     * @return R
     */
    R uploadVideo(MultipartFile file);

    /**
     * 点播视频
     * @param vid 视频ID
     * @return R
     */
    R playVideo(String vid);

}
